{config_load file=global.conf}
{config_load file="news.conf" section="`$lang`"}

{php}
$News = new objNews();
//$News->TranslationMessage = $this->TranslationMessage;
//$newsArr = $News->getHeadersArr();
//$Template->Assign('news',$newsArr);
//$Template = new objTemplate();
$this->Assign_by_ref('objNews',$News);
{/php}
{$objNews->setTranslationMessage($lang)}
{assign var="news" value=$objNews->getHeadersArr()}

<h3>{#news__labelBlockheader#}{*News*}</h3>
<hr size="1px" color="#CCCCCC">

{section name=newsitem loop=$news}
<div class="newsBlockItem"><img src="{#images_dir#}/arrow_orange.gif" vspace="2" align="top" />&nbsp;
<b>{$news[newsitem].displayDate}</b>: {if $news[newsitem].new==1}<span class="new">new!</span>{/if}<br>
<a href="/{$lang}/news.html#{$news[newsitem].id}">{$news[newsitem].header}</a></div>
{/section}
<br>
